//************************************************ 
//  *Author：jxx
//  *QQ：283591387
//  *代码由框架生成,任何更改都可能导致被代码生成器覆盖
//  *业务请在new_overtimeline.js中编写
//************************************************ 
export default function() {
	return {
		editFormFields: {"new_name":"","new_applyname":"","new_starttime":"","new_endtime":"","new_overtime_name":""},
		editFormOptions: [{"title":"申请人","field":"new_applyname"},
                               {"title":"开始时间","field":"new_starttime","type":"datetime"},
                               {"title":"结束时间","field":"new_endtime","type":"datetime"},
                               {"key":"加班申请单号","data":[],"title":"加班申请编号","field":"new_overtime_name","type":"select"},
                               {"title":"编号","field":"new_name"}],
		searchFormFields: {"new_overtime_name":"","new_name":"","new_starttime":"","new_endtime":"","new_applyname":""},
		searchFormOptions: [{"key":"加班申请单号","data":[],"title":"加班申请编号","field":"new_overtime_name"},{"title":"编号","field":"new_name"},{"title":"开始时间","field":"new_starttime"},{"title":"结束时间","field":"new_endtime"},{"title":"申请人","field":"new_applyname"}],
		columns: [{field:'new_overtime_name',title:'加班申请编号',type:'string',bind:{ key:'加班申请单号',data:[]}},
                       {field:'new_name',title:'编号',type:'string'},
                       {field:'new_starttime',title:'开始时间',type:'datetime'},
                       {field:'new_endtime',title:'结束时间',type:'datetime'},
                       {field:'new_applyname',title:'申请人',type:'string'}],
		table: {
			key: 'new_overtimeline_id',
			footer: "Foots",
			cnName: '测试加班申请明细',
			name: 'new_overtimeline',
			url: "/new_overtimeline/",
			sortName: "CreateDate"
		}
	}
}
